#include "ItemData.h"

ItemData::ItemData(AnimatedSpritePtr icon)
:icon(icon)
{
	//load icon sprite with filename
}
ItemData::ItemData(AnimatedSpritePtr icon, const float weight)
:weight(weight)
,icon(icon)
{
	//load icon sprite with filename
}

ItemData::ItemData(AnimatedSpritePtr icon, const float weight, const int value)
:weight(weight)
,value(value)
,icon(icon)
{
    //load icon sprite with filename
}

ItemData::ItemData(AnimatedSpritePtr icon, const float weight, const int value, const int maxStack)
:weight(weight)
,value(value)
,maxStack(maxStack)
,icon(icon)
{
    //load icon sprite with filename
}

ItemType ItemData::getType() const
{
    return type;
}

boost::shared_ptr<void> ItemData::getSpecificData() const
{
    return specificData;
}

int ItemData::getMaxStack() const
{
	return maxStack;
}

float ItemData::getWeight() const
{
	return weight;
}

void ItemData::setWeight(const float weight)
{
	this->weight = weight;
}

void ItemData::setValue( const int value )
{
	this->value = value;
}

int ItemData::getValue() const
{
	return value;
}

AnimatedSpritePtr ItemData::getIcon() const
{
	return this->icon;
}